public class Car {
    private String carName;
    private int CarAge;
    private String CarColor;
    Engine e=new Engine();
    public void show1(){
        System.out.println(carName);
        System.out.println(e.engineName);
    }
    class Engine{
        String engineName;
        int engineAge;

    }
    public void show(){
        System.out.println(carName);
        System.out.println(CarAge);
        System.out.println(CarColor);
    }
}
